import request from '@/utils/request'

// 查询公告列表
export function listdistributor(query) {
    return request({
        url: '/commodity/plaftorm/distributor/list',
        method: 'get',
        params: query
    })
}

//修改
export function editsupplier(data) {
    return request({
        url: '/commodity/distributorcommodity',
        method: 'put',
        data
    })
}